/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Actors;

import java.awt.Shape;
import java.awt.geom.Rectangle2D;

/**
 *
 * @author Joshua
 */
public class ActorBounds {

    public ActorBounds(Shape s, boolean inside){
        bounds = s.getBounds2D();
        this.inside = inside;
    }

    public ActorBounds(Shape s, boolean inside, short expiry){
        this(s,inside);
        this.expiry = expiry;
    }
    /*
     * The bounds of the actor's restricted space
     */
    Rectangle2D bounds;
    /*
     * Whether the restriction forces the actor into the bounds or out
     */
    boolean inside;
    short expiry;
}
